package cn.mcartoon.mapper;
import  cn.mcartoon.pojo.MmCartoon;
import java.util.List;
import java.util.Map;

import io.lettuce.core.dynamic.annotation.Param;
import org.springframework.stereotype.Component;

@Component
public interface MmCartoonMapper {

	public MmCartoon getMmCartoonById(@Param(value = "id") Long id);

	public List<MmCartoon>	getMmCartoonListByMap(Map<String,Object> param);

	public Integer getMmCartoonCountByMap(Map<String,Object> param);

	public Integer insertMmCartoon(MmCartoon mmCartoon);

	public Integer updateMmCartoon(MmCartoon mmCartoon);

	public Integer deleteMmCartoonById(@Param(value = "id") Long id);

	public Integer batchDeleteMmCartoon(Map<String,List<String>> params);

}
